Basket Dead Letter Queue
Kafka dead-letter topic owned by the platform team that captures Basket API messages after retry exhaustion or deserialization failure.
Purpose & Scope
This dead-letter channel captures failed checkout cleanup commands that Basket APIServicev1.0.0Basket APIInternal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkou...PublishesGetBookGrpc, GetBooksGrpc +2SubscribesCreateBasket, UpdateBasket +4APIsOpenAPI, AsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs could not process. Messages arrive here either after bounded transient retries (such as Redis connectivity or timeout errors) are exhausted, or immediately when a record fails deserialization or schema validation as a poison message.
DLQ Profile
| Property | Value |
|---|---|
| Owning Service | Basket APIServicev1.0.0Basket APIInternal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkou...PublishesGetBookGrpc, GetBooksGrpc +2SubscribesCreateBasket, UpdateBasket +4APIsOpenAPI, AsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs |
| Address Pattern | bookworm.{env}.basket.dead-letter-queue |
| Upstream Source Channels | Order Placement Command ChannelChannelv1.0.0Order Placement Command ChannelShared Kafka topic owned by the contributor team carrying Finance order placement commands to Basket API for cleanup and...Ownercommerce-fulfillment-teamOpen docs |
| Routing Triggers | Exhausted transient retries (storage/network faults) or immediate poison/deserialization errors |
| Retention / Inspection Window | Governed by Kafka broker retention policy; inspect and triage before broker expiry |
| Replay Safety | Idempotent if basket is already deleted; verify order and basket state first |
Triage & Replay Guardrails
Before replaying any record from this DLQ:
- Verify that the corresponding order still exists and check whether the checkout saga in Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs has already completed or compensated.
- Confirm that Redis basket storage is healthy and whether the target basket has already been removed.
- Isolate permanent schema or deserialization errors rather than replaying poison records.
- Replay only to Basket APIServicev1.0.0Basket APIInternal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkou...PublishesGetBookGrpc, GetBooksGrpc +2SubscribesCreateBasket, UpdateBasket +4APIsOpenAPI, AsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs — never replay to the shared Order Placement Command ChannelChannelv1.0.0Order Placement Command ChannelShared Kafka topic owned by the contributor team carrying Finance order placement commands to Basket API for cleanup and...Ownercommerce-fulfillment-teamOpen docs topic, as Notification APIServicev1.0.0Notification APIInternal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over ...SubscribesPlaceOrderCommand, CancelOrderCommand +1APIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs also consumes it and would send duplicate order emails.
Follow the operational triage procedures in Incident Triage & Health Check RunbookCustom DocIncident Triage & Health Check RunbookFirst-5-minutes triage commands and symptom-first recovery playbooks for Container Apps, passwordless RBAC, order orches...Ownerplatform-engineering-teamOpen doc.
- Preserved metadata: Records retain the original CloudEvents envelope,
orderIdKafka partition key, and failure diagnostic headers (error reason, timestamp, and attempt count). - Cross-consumer isolation: Notification APIServicev1.0.0Notification APIInternal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over ...SubscribesPlaceOrderCommand, CancelOrderCommand +1APIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs failures on the same upstream topic route separately to Notification Dead Letter QueueChannelv1.0.0Notification Dead Letter QueueKafka dead-letter topic owned by the platform team that captures order notification commands that Notification API could...Ownerplatform-engineering-teamOpen docs.
Channel Details & Visualization
Channel information
bookworm.{env}.basket.dead-letter-queue- kafka
| Parameter | Description | Options | Default |
|---|---|---|---|
| env | BookWorm deployment environment. | development, staging, production | development |